package com.yjd.bi.first.service;

import com.yjd.bi.first.model.FirstRunRecordModel;
import com.yjd.comm.base.service.IBaseService;

/**
 * <b>description</b>：首次投job执行记录业务接口<br>
 * <b>time</b>：2017-04-01 17:09:14 <br>
 * <b>author</b>：  carl
 */
public interface IFirstRunRecordService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public FirstRunRecordModel insert(FirstRunRecordModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(FirstRunRecordModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(long id) throws Exception;


}
